package com.sy.simpleegg.mvp.contract

import com.sy.simpleegg.base.IModel
import com.sy.simpleegg.base.IPresenter
import com.sy.simpleegg.base.IView
import com.sy.simpleegg.bean.RecordOrderBean

interface RecordContract {
    interface View: IView{
        fun loadData(datas: MutableList<RecordOrderBean>)
    }

    interface Presenter: IPresenter<View>{
        fun getOrder(date: String)
    }

    interface Model: IModel{
        suspend fun getOrder(date: String): MutableList<RecordOrderBean>
    }
}